package com.cmc.cloud.cmclink.doc.vo.manifestvo.manifestcntr;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 管理后台 - 检查箱号是否拼箱 Request VO
 *
 * @author lyp
 * @date 2025/08/04 11:25
 */
@Schema(description = "管理后台 - 检查箱号是否拼箱 Request VO")
@Data
public class ManifestCntrCheckLclReqVO {
    @Schema(description = "外键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7362")
    @NotNull(message = "{manifest.id.notnull}")
    private Long manifestId;

    @Schema(description = "箱号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{manifestcntr.cntrno.notblank}")
    @Length(max = 12, message = "{manifestcntr.cntrno.length}")
    private String cntrNo;
}